﻿<controls:ChildWindow x:Class="Ivvy_Silverlight.NewAppoIntMentChildWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="700" Height="500" 
           Title="New Appointment (costomized for test)" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Close" Click="CancelButton_Click" Width="61" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="Save" Click="OKButton_Click" Width="60" Height="23" HorizontalAlignment="Left" Margin="524,12,0,0" Grid.Row="1" />
        <sdk:Label Height="22" HorizontalAlignment="Left" Margin="39,45,0,0" Name="label1" VerticalAlignment="Top" Width="59" Content="Subject:" FontSize="13" FlowDirection="LeftToRight" HorizontalContentAlignment="Left" />
        <sdk:Label Content="Location:" FlowDirection="LeftToRight" FontSize="13" Height="22" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="31,73,0,0" Name="label2" VerticalAlignment="Top" Width="67" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="99,43,0,0" Name="SubjectTB" VerticalAlignment="Top" Width="555" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="99,73,0,0" Name="LocationTB" VerticalAlignment="Top" Width="555" />
        <TextBox Height="259" HorizontalAlignment="Stretch" Name="DescriptionTB" VerticalAlignment="Bottom" HorizontalContentAlignment="Left" />
        <sdk:DatePicker Height="23" HorizontalAlignment="Left" Margin="99,102,0,0" Name="StartTimeDP" VerticalAlignment="Top" Width="120" />
        <sdk:Label Content="Start time:" FlowDirection="LeftToRight" FontSize="13" Height="22" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="22,102,0,0" Name="label3" VerticalAlignment="Top" Width="73" />
        <sdk:Label Content="End time:" FlowDirection="LeftToRight" FontSize="13" Height="22" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="28,130,0,0" Name="label4" VerticalAlignment="Top" Width="67" />
        <sdk:DatePicker Height="23" HorizontalAlignment="Left" Margin="99,129,0,0" Name="EndTimeDP" VerticalAlignment="Top" Width="120" />
        <CheckBox Content="All day event" Height="23" HorizontalAlignment="Left" Margin="361,117,0,0" Name="AllDayEventTB" VerticalAlignment="Top" Width="109" IsChecked="True" Click="AllDayEventTB_Click" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="225,102,0,0" Name="StartTimeDetailCB" VerticalAlignment="Top" Width="83" SelectedIndex="0" IsEnabled="False">
            <ComboBoxItem Content="0:00"/>
            <ComboBoxItem Content="0:30"/>
            <ComboBoxItem Content="1:00"/>
            <ComboBoxItem Content="1:30"/>
            <ComboBoxItem Content="2:00"/>
            <ComboBoxItem Content="2:30"/>
            <ComboBoxItem Content="3:00"/>
            <ComboBoxItem Content="3:30"/>
            <ComboBoxItem Content="4:00"/>
            <ComboBoxItem Content="4:30"/>
            <ComboBoxItem Content="5:00"/>
            <ComboBoxItem Content="5:30"/>
            <ComboBoxItem Content="6:00"/>
            <ComboBoxItem Content="6:30"/>
            <ComboBoxItem Content="7:00"/>
            <ComboBoxItem Content="7:30"/>
            <ComboBoxItem Content="8:00"/>
            <ComboBoxItem Content="8:30"/>
            <ComboBoxItem Content="9:00"/>
            <ComboBoxItem Content="9:30"/>
            <ComboBoxItem Content="10:00"/>
            <ComboBoxItem Content="10:30"/>
            <ComboBoxItem Content="11:00"/>
            <ComboBoxItem Content="11:30"/>
            <ComboBoxItem Content="12:00"/>
            <ComboBoxItem Content="12:30"/>
            <ComboBoxItem Content="13:00"/>
            <ComboBoxItem Content="13:30"/>
            <ComboBoxItem Content="14:00"/>
            <ComboBoxItem Content="14:30"/>
            <ComboBoxItem Content="15:00"/>
            <ComboBoxItem Content="15:30"/>
            <ComboBoxItem Content="16:00"/>
            <ComboBoxItem Content="16:30"/>
            <ComboBoxItem Content="17:00"/>
            <ComboBoxItem Content="17:30"/>
            <ComboBoxItem Content="18:00"/>
            <ComboBoxItem Content="18:30"/>
            <ComboBoxItem Content="19:00"/>
            <ComboBoxItem Content="19:30"/>
            <ComboBoxItem Content="20:00"/>
            <ComboBoxItem Content="20:30"/>
            <ComboBoxItem Content="21:00"/>
            <ComboBoxItem Content="21:30"/>
            <ComboBoxItem Content="22:00"/>
            <ComboBoxItem Content="22:30"/>
            <ComboBoxItem Content="23:00"/>
            <ComboBoxItem Content="23:30"/>
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="225,130,0,0" Name="EndTimeDetailCB" SelectedIndex="0" VerticalAlignment="Top" Width="83" IsEnabled="False">
            <ComboBoxItem Content="0:00" />
            <ComboBoxItem Content="0:30" />
            <ComboBoxItem Content="1:00" />
            <ComboBoxItem Content="1:30" />
            <ComboBoxItem Content="2:00" />
            <ComboBoxItem Content="2:30" />
            <ComboBoxItem Content="3:00" />
            <ComboBoxItem Content="3:30" />
            <ComboBoxItem Content="4:00" />
            <ComboBoxItem Content="4:30" />
            <ComboBoxItem Content="5:00" />
            <ComboBoxItem Content="5:30" />
            <ComboBoxItem Content="6:00" />
            <ComboBoxItem Content="6:30" />
            <ComboBoxItem Content="7:00" />
            <ComboBoxItem Content="7:30" />
            <ComboBoxItem Content="8:00" />
            <ComboBoxItem Content="8:30" />
            <ComboBoxItem Content="9:00" />
            <ComboBoxItem Content="9:30" />
            <ComboBoxItem Content="10:00" />
            <ComboBoxItem Content="10:30" />
            <ComboBoxItem Content="11:00" />
            <ComboBoxItem Content="11:30" />
            <ComboBoxItem Content="12:00" />
            <ComboBoxItem Content="12:30" />
            <ComboBoxItem Content="13:00" />
            <ComboBoxItem Content="13:30" />
            <ComboBoxItem Content="14:00" />
            <ComboBoxItem Content="14:30" />
            <ComboBoxItem Content="15:00" />
            <ComboBoxItem Content="15:30" />
            <ComboBoxItem Content="16:00" />
            <ComboBoxItem Content="16:30" />
            <ComboBoxItem Content="17:00" />
            <ComboBoxItem Content="17:30" />
            <ComboBoxItem Content="18:00" />
            <ComboBoxItem Content="18:30" />
            <ComboBoxItem Content="19:00" />
            <ComboBoxItem Content="19:30" />
            <ComboBoxItem Content="20:00" />
            <ComboBoxItem Content="20:30" />
            <ComboBoxItem Content="21:00" />
            <ComboBoxItem Content="21:30" />
            <ComboBoxItem Content="22:00" />
            <ComboBoxItem Content="22:30" />
            <ComboBoxItem Content="23:00" />
            <ComboBoxItem Content="23:30" />
        </ComboBox>
    </Grid>
</controls:ChildWindow>